home *** CD-ROM | disk | FTP | other *** search
/ ASP Advantage 1994 2nd Q2 / The Association of Shareware Professionals - The Official ASP Advantage (2nd Quarter)(1994).bin / files / utilfile / stf145 / stftut.old < prev    next >
Encoding:
Text File  |  1993-09-15  |  3.9 KB  |  88 lines

  1. Filename: STFTUT.OLD  Copyright (c) 1993 by RPMcCormick
  2. STF compares 2 ASCII text files side-by-side.
  3. In the default text mode, only the first 39
  4. characters are visible. There are 3 things you can
  5. do to see what is currently hidden.
  6. 1. Hold down the <Ctrl> key and hit the 
  7.    right arrow several times. Notice the Sliding
  8.    Centerline.
  9. 2. Use the Right arrow key by itself, that is,
  10.    without the <Ctrl> key. This moves your
  11.    viewing position 10 columns to the right.
  12.    Note that for one Right Arrow, a "+10" appears
  13.    on the top info bar. Scroll back with the Left
  14.    Arrow, and the "+10" disappears.
  15. 3. If you have VGA graphics, hit the F6 function key.
  16.    That gives you a view of the file using a custom font
  17.    which allows you to see 62 columns initially.
  18.    Use the F5 function key to return back to text mode.
  19.    This resets the centerline to the middle of the screen.
  20.  
  21. -- Please hit the "Page Down" key to continue. --
  22.  
  23.  
  24. If two lines are identical, they are both
  25. bright white. If a line is different, the
  26. version on the right is dimmed. The top lines in
  27. this demo are different due to the filenames.
  28. This comparison is case sensitive. An upper case letter
  29. is considered different from lower case. Note that on
  30. this line, arrow is not capitalized in the .OLD file.
  31. Sometimes lines will show up as different when they
  32. appear identical to you. This may be due to
  33. an unseen extra space as in this line,  
  34. or a "tab" character as    in this one, or an
  35. extra Carriage Return like this line has.
  36.  
  37. If you would prefer that these are not marked
  38. as different, hit the <Alt> B key to "toggle"
  39. blanks. Try it now. Notice the lines on the right
  40. are no longer dimmed. You can see the current
  41. state of this 2 position toggle in the first
  42. help file screen. Access the help screen by using
  43. the F1 function key. To get right back here,
  44. hit Escape.
  45.                       
  46. When one or more lines are inserted in one file and
  47. not the other, they will get out of synchronization.
  48. All lines will appear as unequal, or different. To
  49. re-synch these files, first observe the bright white
  50. squares before each filename on the top information
  51. bar. By default both files are active, so both bright
  52. squares are "on". Hit F4 to make file 2, the one on
  53. the right, active, while deactivating file 1. Note
  54. that the square for file1 has extinguished. Now hit
  55. the up arrow key twice to bring the files back into
  56. alignment. Hit F2 to make both files active as before.
  57.  
  58. To search for text, use <Alt> F. The F is for Find.
  59. We will search for the string "Home" without the
  60. quotes. You can enter the letters in upper or lower
  61. case, as case is ignored in the search. Imbedded
  62. spaces do count, however. Go to the start of the file
  63. by hitting the Home key, then hit <Alt> F. You will 
  64. be prompted, on the upper info bar, to enter the
  65. search string after the word Find: type in "home" and
  66. hit the Enter or Return key. This should bring you 
  67. back here. Hit <Alt> A to search for "Home" again.
  68. -- Please hit the "Page Down" key to continue. --
  69.  
  70. If you want to cancel your "find" while entering the
  71. search string, you can hit the Escape key. Note that
  72. the search works only on file 1.
  73.  
  74. If you have been following this tutorial, the files
  75. will be "out of synch" at this time. To get them back
  76. in line, activate File 2 and hit 2 up arrows. Then
  77. activate both files with the F2 key.
  78.  
  79. For items not covered in this tutorial, read the help
  80. screens, which can be reached either by the F1 key while 
  81. active, or by typing "STF h" at the DOS command line.
  82. Also see the file STF.DOC. To view the .DOC file now,
  83. hit Escape to see the current directory, then select
  84. STF.DOC from the list. When asked for the second file,
  85. choose "No 2nd file" from the second directory screen
  86. to view the .DOC file full width. When finished, you
  87. can "back out" by hitting Escape until you are back
  88. in DOS, or use "<Alt> X" for a quick exit.
  89.